
const routerConfig = [ // 菜单相关路由
        {
            key: '/main', title: '首页' , icon: 'edit'
        },
        {
            key: '/main/merchant', title: '渠道管理', icon: 'scan',
            children: [
                { key: '/main/merchant/Add', title:'添加渠道'},
                { key: '/main/merchant/Modify', title:'修改渠道'},
                { key: '/main/merchant/Details', title:'查看详情'},
                // { key: '/merchant/merchantDetails', title: '添加渠道', component: Merchantmodify},
                // { key: '/merchant/merchantModify', title: '查看详情', component: Merchantdetails}
            ]
              
                // { key: '/app/ui/modals', title: '对话框', component: 'Modals'},
                // { key: '/app/ui/notifications', title: '通知提醒框', component: 'Notifications'},
                // { key: '/app/ui/tabs', title: '标签页', component: 'Tabs'},
                // { key: '/app/ui/banners', title: '轮播图', component: 'Banners'},
                // { key: '/app/ui/wysiwyg', title: '富文本', component: 'WysiwygBundle'},
                // { key: '/app/ui/drags', title: '拖拽', component: 'Drags'},
                // { key: '/app/ui/gallery', title: '画廊', component: 'Gallery'},
                // { key: '/app/ui/map', title: '地图', component: 'MapUi'},
        },
        {
            key: '/login', title: '登录' , icon: 'switcher'
        },
        {
            key: '/main/table', title: '表格', icon: 'copy',
            children: [
                { key: '/main/table/basic', title: '基础表格'},
                { key: '/main/table/advance', title: '高级表格'},
                { key: '/main/table/async', title: '异步表格'},
            ],
        },
        // {
        //     key: '/form', title: '表单', icon: 'edit',
        //     children: [
        //         { key: '/form/basicForm', title: '基础表单', component: 'Formbasic'},
        //     ],
        // },
        // {
        //     key: '/chart', title: '图表', icon: 'area-chart',
        //     children: [
        //         { key: 'chartecharts', title: 'echarts', component: 'Echarts' }
        //     ],
        // },
        // {
        //     key: '/authority', title: '权限管理', icon: 'safety',
        //     children: [
        //         { key: '/authority/basic', title: '基础演示', component: 'Authbasic' },
        //         { key: '/authority/routerEnter', title: '路由拦截', component: 'RouterEnter', auth: 'auth/testPage' },
        //     ],
        // },
        
    ]

export { routerConfig }